/*
 * @Description  : 用户管理
 * @Author       : Keyman
 * @Date         : 2025-11-05 19:38:13
 * @LastEditors  : Keyman
 * @LastEditTime : 2025-11-12 23:54:05
 */

import { get, post } from "../utils/http/request.ts";

interface ApiData {
  username: string;
  password: string;
}
export function login(data: ApiData) {
  return post("/login", data);
}

export function getMenuList() {
  return get("/menu");
}
